package com.example.service.impl;

import com.example.service.MyService;
import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

/**
 * @Description
 * @Author 26233
 * @Create 2021-10-31 17:26:49
 */

public class MyServiceImpl extends UnicastRemoteObject implements MyService {

    public MyServiceImpl() throws RemoteException{}

    public String getName(String name) throws RemoteException {
        System.out.println("name = " + name);
        return name + " test";
    }
}
